tools: change the type of '*nr' in 'libxl_psr_cat_get_info'
authorYi Sun <yi.y.sun@linux.intel.com>
Mon, 4 Sep 2017 11:01:44 +0000 (19:01 +0800)
committerWei Liu <wei.liu2@citrix.com>
Wed, 6 Sep 2017 16:06:17 +0000 (17:06 +0100)
commit65c256266477e72f455a45a54597d5816646c74f
tree0e0a371192d9e4d5d14b5b95e16321bcd18c728f
parent5fe3e6a74afa21dd4f4abc18b47ed0f2e1550329
tools: change the type of '*nr' in 'libxl_psr_cat_get_info'

Due to historical reason, type of parameter '*nr' in 'libxl_psr_cat_get_info'
is 'int'. But this is not right. It should be 'unsigned int'. This patch fixes
this and does related changes.

Suggested-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_psr.c
tools/xl/xl_psr.c